package main.dic;

import main.util.SqlConstants;

import org.apache.poi.ss.usermodel.Row;

public class DataDict {
	
	public String TYPEID=null;
	
	public int flag=0;//0表示未匹配到字典类型，1表示已匹配到字典类型
	
	public int endCol;
	
	public DataDict(int endCol) {
		this.endCol = endCol;
	}

	public int getEndCol() {
		return endCol;
	}
	
	public int getFlag() {
		return flag;
	}

	public String isDictRow(Row row,int col ){
		String rowVal=SqlConstants.getColValue(row, col);
		if("".equals(rowVal) || "value:字典名称id".indexOf(rowVal)>0){
			return "";
		}
		
		return "";
	}
}
